/* dbupdate.h
 *
 * Copyright 2007-2008 OpenMoko, Inc.
 * Authored by Tick <tick@openmoko.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef __ASSASSIN_PAKCAGES_DATABASE_UPDATE__
#define __ASSASSIN_PAKCAGES_DATABASE_UPDATE__


#define STAMPFILE "assassin.stamp"
#define TIMEOUT_S 172800		// two days

int db_update_check();
int db_update_timestamp_check();
void put_time_stamp();
int network_check();
void package_database_update();
int package_database_updating();

#endif
